package com.ruoyi.xiche.service;

import com.ruoyi.xiche.domain.ServiceItem;
import com.ruoyi.xiche.domain.Store;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.xiche.domain.StoreWithRating;

import java.util.List;
import java.util.Map;

/**
* @author wangruoyang
* @description 针对表【store(门店表)】的数据库操作Service
* @createDate 2025-03-17 11:56:33
*/
public interface StoreService extends IService<Store> {
//    List<ServiceItem> getServiceList(int id);

    //根据前端商户ID获取服务列表
    //多表联查获取
    List<Map<String, Object>> getStoreRatings();

    List<StoreWithRating> getStoreInfoByStoreId(Long storeId);
}
